﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Group3.MediaTool.Data.Generator
{
    public static class DataLoaderCache
    {

        public static List<IdMapping> loadHelper = new List<IdMapping>();
        public static List<IdAssign> assignHelper = new List<IdAssign>(); 


		public static void addMapping(String classnam, String oldId, int Id)
		{
			IdMapping map = new IdMapping(classnam, oldId, Id);
			loadHelper.Add(map);
		}

        public static void addAssign(String thisClass, String thisId, String otherClass, String otherId, String refTab)
        {
            IdAssign assign = new IdAssign(thisClass, thisId, otherClass, otherId, refTab);
            assignHelper.Add(assign);
        }
	}
}
